package com.szl.sbssh.service;

import com.szl.sbssh.pageModel.base.PageFilter;
import com.szl.sbssh.pageModel.base.Tree;
import com.szl.sbssh.pageModel.sys.Role;

import java.util.List;

/**
 * Author: songzhonglin
 * Date: 2018/4/25
 * Time: 15:58
 * Description:
 **/
public interface RoleService {

    public List<Role> dataGrid(Role role, PageFilter ph);

    public Long count(Role role, PageFilter ph);

    public void add(Role role);

    public void delete(Long id);

    public void edit(Role role);

    public Role get(Long id);

    public void grant(Role role);

    public List<Tree> tree();
}
